<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        {css file="__ROOT__/static/jqueryui/css/smoothness/jquery-ui-1.10.0.custom.css"/}
        {css file="__PUBLIC__/css/edit.css"/}
        {jquery/}
        {js file="__ROOT__/static/jqueryui/js/jquery-ui-1.10.0.custom.min.js"/}
        {js file="__PUBLIC__/js/category.js"/}
        <script>
            $(function() {
                $( "#tabs" ).tabs();
            });
        </script>
    </head>
    <body>
        <form action="{|U('add')}" method="post">
            <input type="hidden" name="pid" value="{$hd.get.pid|default:0}"/>
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">基本设置</a></li>
                    <li><a href="#tabs-2">模板设置</a></li>
                    <li><a href="#tabs-3">静态规则</a></li>
                </ul>
                <div id="tabs-1">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                      <tr>
                        <td width="100" height="26" class="bline"><font color="">栏目名称：</font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="catname"><span class="desc"></span></td>
                      </tr>
                      <tr>
                            <td width="100" height="26" class="bline"><font color="">发表文章：</font></td>
                            <td class="bline">
                                <input type="radio"  name="issend" value="1" checked="checked"/> 是
                                <input type="radio"  name="issend" value="0"/> 否
                            </td>
                        </tr>
                      <tr>
                        <td width="100" height="26" class="bline"><font color="">静态目录：</font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="catdir" value="/a"><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td height="26" class="bline"><font color="">　关键字：</font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="keywords"><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td height="26" class="bline"><font color="">栏目描述：</font></td>
                        <td class="bline"><textarea name="description" class="w300 h100"></textarea><span class="desc"></span></td>
                      </tr>
                      
                      </tbody>
                    </table>
                </div>
                <div id="tabs-2">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">　栏目模板: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="cattpl" value="list.html"/><button class="bt2">选择模板</button><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">内容页模板: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="arctpl" value="arc.html"/><button class="bt2">选择模板</button><span class="desc"></span></td>
                      </tr>
                      
                      </tbody>
                    </table>
                    
                </div>
                <div id="tabs-3">
                     <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">　栏目静态: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="cathtml" value="{htmlpath}/{catdir}/{cid}.html"/><span class="desc"></span></td>
                      </tr>
                      <tr>
                        <td width="130" height="26" class="bline"><font color="">内容页静态: </font></td>
                        <td class="bline"><input type="text" class="iptxt" size="30" name="archtml" value="{htmlpath}/{catdir}/{y}{m}/{aid}.html"/><span class="desc"></span></td>
                      </tr>
                      
                      </tbody>
                    </table>

                </div>
                <div style="padding-left:10px;">
                    <table width="100%" cellspacing="0" cellpadding="0" border="0">
                      <tbody>
                        <tr>
                           <td align="left" colspan="2" style="padding-left:15px;">
                               <input class="menu_submit" type="submit" value="确认添加">
                           </td>
                           
                        </tr>
                      </tbody>
                    </table>
                </div>
            </div>

        </form>
    </body>
</html>
